<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div style="margin-left: 300px;margin-top: 50px">
    <div>
        看看ios,安卓内嵌浏览器的版本信息
    </div>


</div>

<script>

    window.onload=function () {
        var ua = window.navigator.userAgent.toLowerCase();
        console.log(ua)
        alert(JSON.stringify(ua) )
    }

</script>


</body>
</html>